Skip to content

Move asset hashing into the CLI #3988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 55 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Apr 14, 2025

TODO:

  • Test linked bugs are fixed on wasm
  • Test linked bugs on Macos desktop
  • Test linked bugs on Windows desktop
  • Test linked bugs on Linux desktop

Fixes #3705
Fixes #3467
Fixes #3918

Stacked on #4042

@ealmloff ealmloff added cli Related to the dioxus-cli program manganis Related to the manganis crate bug Something isn't working labels Apr 14, 2025
@ealmloff ealmloff added the breaking This is a breaking change label Apr 30, 2025
@ealmloff ealmloff marked this pull request as ready for review May 5, 2025 12:07
@ealmloff ealmloff requested a review from a team as a code owner May 5, 2025 12:07
@ealmloff ealmloff marked this pull request as draft May 5, 2025 13:20
@ealmloff ealmloff mentioned this pull request May 21, 2025

#[derive(Clone, Debug, Parser)]
pub struct BuildAssets {
/// The source executable to build assets for.
pub(crate) executable: PathBuf,

/// The source directory for the assets.
pub(crate) source: PathBuf,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path this is joined against is always absolute, so setting this argument makes no difference

@ealmloff
Copy link
Member Author

This PR is now modifying the final executable and resigning it on MacOS. Windows and Ubuntu platforms worked without needing a signature when I tested them

@ealmloff ealmloff changed the title Move asset hashing into a linker intercept step Move asset hashing into the CLI May 26, 2025
@ealmloff ealmloff requested a review from jkelleyrtp May 26, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change bug Something isn't working cli Related to the dioxus-cli program manganis Related to the manganis crate
Projects
None yet
1 participant